<?php 
defined('C5_EXECUTE') or die(_("Access Denied."));
$form = Loader::helper("form");
?>
<div id="hcard">

<ul id="navi">
	<li><a href="#personal"><?php echo t("personal"); ?></a></li>
	<li><a href="#organization"><?php echo t("organization"); ?></a></li>
	<li><a href="#address"><?php echo t("address"); ?></a></li>
	<li><a href="#contact"><?php echo t("contact"); ?></a></li>
</ul>

<div id="paramters">
<dl id="personal">
	<dt><?	echo $form->label("photo", t("photo")); ?></dt>
	<dd><?	echo $form->text("photo", $hcard->photo, array("style" => "width: 320px")); ?></dd>
	<dt><?	echo $form->label("familyName", t("family name")); ?></dt>
	<dd><?	echo $form->text("familyName", $hcard->familyName, array("style" => "width: 150px")); ?></dd>
	<dt><?	echo $form->label("givenName", t("given name")); ?></dt>
	<dd><?	echo $form->text("givenName", $hcard->givenName, array("style" => "width: 150px")); ?></dd>
	<dt><?	echo $form->label("nickname", t("nickname")); ?></dt>
	<dd><?	echo $form->text("nickname", $hcard->nickname, array("style" => "width: 150px")); ?></dd>
	<dt><?	echo $form->label("url", t("url")); ?></dt>
	<dd><? echo $form->text("url", $hcard->url,  array("style" => "width: 320px")); ?></dd>
</dl>

<dl id="organization">
	<dt><?	echo $form->label("org", t("organization")); ?></dt>
	<dd><?	echo $form->text("org", $hcard->org, array("style" => "width: 320px")); ?></dd>
	<dt><?	echo $form->label("title", t("title")); ?></dt>
	<dd><?	echo $form->text("title", $hcard->title, array("style" => "width: 150px")); ?></dd>
</dl>


<dl id="address">
	<dt><?	echo $form->label("addressType", t("address type")); ?></dt>
	<dd><?	echo $form->select("addressType", $hcard->getAddressTypes(),  $hcard->addressType); ?></dd>
	<dt><?	echo $form->label("streetAddress", t("street address")); ?></dt>
	<dd><?	echo $form->text("streetAddress", $hcard->streetAddress, array("style" => "width: 320px")); ?></dd>
	<dt><?	echo $form->label("extendedAddress", t("extended address")); ?></dt>
	<dd><?	echo $form->text("extendedAddress", $hcard->extendedAddress, array("style" => "width: 320px")); ?></dd>
	<dt><?	echo $form->label("locality", t("locality")); ?></dt>
	<dd><?	echo $form->text("locality", $hcard->locality, array("style" => "width: 150px")); ?></dd>
	<dt><?	echo $form->label("region", t("region")); ?></dt>
	<dd><?	echo $form->text("region", $hcard->region, array("style" => "width: 150px")); ?></dd>
	<dt><?	echo $form->label("postalCode", t("postal code")); ?></dt>
	<dd><?	echo $form->text("postalCode", $hcard->postalCode, array("style" => "width: 150px")); ?></dd>
	<dt><?	echo $form->label("countryName", t("country name")); ?></dt>
	<dd><?	echo $form->text("countryName", $hcard->countryName, array("style" => "width: 150px")); ?></dd>
</dl>

<dl id="contact">
	<dt><?	echo $form->label("tel1Type", t("telphone1")); ?></dt>
	<dd>
		<?	echo $form->select("tel1Type", $hcard->getTelphoneTypes(),  $hcard->tel1Type); ?>
		<? echo $form->text("tel1Value", $hcard->tel1Value); ?>
	</dd>
	<dt><?	echo $form->label("tel2Type", t("telphone2")); ?></dt>
	<dd>
		<?	echo $form->select("tel2Type", $hcard->getTelphoneTypes(),  $hcard->tel2Type); ?>
		<? echo $form->text("tel2Value",  $hcard->tel2Value); ?>
	</dd>
	<dt><?	echo $form->label("email", t("email")); ?></dt>
	<dd><? echo $form->text("email",  $hcard->email, array("style" => "width: 350px")); ?>	</dd>
</dl>
</div>
</div>